package com.woyou.bean;

/**
 * 我的订单的bean
 * 
 * @author shenzhou 2015年1月5日
 */
@SuppressWarnings("serial")
public class MyOrderItem extends SuperBean {

	private String info;// 推送消息
	private String oId; // 订单编号
	private float oPrice; // 订单金额
	private int num; // 商品数量
	private String sName; // 商铺名称
	private String phone; // 商铺电话号码
	private String summary; // 订单明细摘要(可乐一份、雪碧两份、百事一份…)
	private long oTimeStamp; // 后台新订单生成时的unix时间戳
	private int state; // 订单状态(1:新订单；2:推送成功；3:未接通；4:接通后未应答；5:拒绝；6:返单；7:已确认；8:已取消；9:已送出；10.已送达,11.已评价,12.自动完成(说明))
	private int remainTime; // 当订单状态为2:推送成功时返回订单倒计时剩余时间.(单位:秒) -1表示倒计时结束

	private long acceptTime; // 商家接单时间
	private String sId; // 店铺id

	/** 0是分隔线,1是订单, 2是等待订单 **/
	public int Type = 1;
	public String oTime = ""; // 时间显示内容(11：30)如果订单状态为“未送出”状态，返回等待时间（已等待21分钟）
	public String oDate = ""; // 订单日期内容

	public String getsId() {
		return sId;
	}

	public void setsId(String sId) {
		this.sId = sId;
	}

	public long getAcceptTime() {
		return acceptTime;
	}

	public void setAcceptTime(long acceptTime) {
		this.acceptTime = acceptTime;
	}

	public long getoTimeStamp() {
		return oTimeStamp;
	}

	public void setoTimeStamp(long oTimeStamp) {
		this.oTimeStamp = oTimeStamp;
	}

	public String getInfo() {
		return info;
	}

	public void setInfo(String info) {
		this.info = info;
	}

	public String getoId() {
		return oId;
	}

	public void setoId(String oId) {
		this.oId = oId;
	}

	public String getoTime() {
		return oTime;
	}

	public void setoTime(String oTime) {
		this.oTime = oTime;
	}

	public String getoDate() {
		return oDate;
	}

	public void setoDate(String oDate) {
		this.oDate = oDate;
	}

	public float getoPrice() {
		return oPrice;
	}

	public void setoPrice(float oPrice) {
		this.oPrice = oPrice;
	}

	public int getNum() {
		return num;
	}

	public void setNum(int num) {
		this.num = num;
	}

	public String getsName() {
		return sName;
	}

	public void setsName(String sName) {
		this.sName = sName;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getSummary() {
		return summary;
	}

	public void setSummary(String summary) {
		this.summary = summary;
	}

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}

	public int getType() {
		return Type;
	}

	public void setType(int type) {
		Type = type;
	}

	public int getRemainTime() {
		return remainTime;
	}

	public void setRemainTime(int remainTime) {
		this.remainTime = remainTime;
	}

	@Override
	public String toString() {
		return "MyOrderItem [oId=" + oId + ", oPrice=" + oPrice + ", num="
				+ num + ", sName=" + sName + ", phone=" + phone + ", summary="
				+ summary + ", oTimeStamp=" + oTimeStamp + ", state=" + state
				+ ", remainTime=" + remainTime + ", Type=" + Type + ", oTime="
				+ oTime + ", oDate=" + oDate + "]";
	}

}
